package com.tiankong.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tiankong.product.entity.CategoryBrand;

import java.util.List;

/**
 * <p>
 * 品牌分类关联 服务类
 * </p>
 *
 * @author scl
 * @since 2021-03-22
 */
public interface CategoryBrandRelationService extends IService<CategoryBrand> {

    void saveRelation(CategoryBrand categoryBrand);

    List<CategoryBrand> listByBrandId(Long brandId);

    List<CategoryBrand> listBrandByCatId(Long catId);
}
